const imageSrc = '../../images/' //图片url前缀
var width, height
wx.getSystemInfo({
  success: res => {
    height = res.windowHeight
    width = res.windowWidth
  }
})
var gameImg = {
  bg: {
    src: imageSrc + 'bg.jpg',
    width: width,
    height: height
  },
  loading1: {
    src: imageSrc + 'loading1.png',
    width: 192,
    height: 41
  },
  loading2: {
    src: imageSrc + 'loading2.png',
    width: 192,
    height: 40
  },
  loading3: {
    src: imageSrc + 'loading3.png',
    width: 200,
    height: 42
  },
  logo: {
    src: imageSrc + 'logo.png',
    width: width,
    height: 87
  },
  bomb: {
    src: imageSrc + 'bomb.png',
    width: 60,
    height: 53
  },
  cartridge: {
    src: imageSrc + 'cartridge.png',
    width: 9,
    height: 21
  },
  cartridge_power: {
    src: imageSrc + 'cartridge_power.png',
    width: 9,
    height: 21
  },
  die1: {
    src: imageSrc + 'die1.png',
    width: 41,
    height: 39
  },
  die2: {
    src: imageSrc + 'die2.png',
    width: 40,
    height: 43
  },
  me: {
    src: imageSrc + 'me.png',
    width: 98,
    height: 122
  },
  me_2: {
    src: imageSrc + 'me_2.png',
    width: 98,
    height: 122
  },
  me_die1: {
    src: imageSrc + 'me_die1.png',
    width: 98,
    height: 122
  },
  me_die2: {
    src: imageSrc + 'me_die2.png',
    width: 98,
    height: 122
  },
  me_die3: {
    src: imageSrc + 'me_die3.png',
    width: 98,
    height: 122
  },
  me_die4: {
    src: imageSrc + 'me_die4.png',
    width: 98,
    height: 122
  },
  plain1: {
    src: imageSrc + 'plain1.png',
    width: 59,
    height: 36
  },
  plain1_die1: {
    src: imageSrc + 'plain1_die1.png',
    width: 59,
    height: 36
  },
  plain1_die2: {
    src: imageSrc + 'plain1_die2.png',
    width: 59,
    height: 36
  },
  plain1_die3: {
    src: imageSrc + 'plain1_die3.png',
    width: 59,
    height: 36
  },
  plain2: {
    src: imageSrc + 'plain2.png',
    width: 70,
    height: 92
  },
  plain2_die1: {
    src: imageSrc + 'plain2_die1.png',
    width: 70,
    height: 92
  },
  plain2_die2: {
    src: imageSrc + 'plain2_die2.png',
    width: 70,
    height: 92
  },
  plain2_die3: {
    src: imageSrc + 'plain2_die3.png',
    width: 70,
    height: 92
  },
  plain2_die4: {
    src: imageSrc + 'plain2_die4.png',
    width: 70,
    height: 92
  },
  plain2_hurt: {
    src: imageSrc + 'plain2_hurt.png',
    width: 70,
    height: 92
  },
  plain3: {
    src: imageSrc + 'plain3.png',
    width: 165,
    height: 256
  },
  plain3_2: {
    src: imageSrc + 'plain3_2.png',
    width: 165,
    height: 256
  },
  plain3_die1: {
    src: imageSrc + 'plain3_die1.png',
    width: 165,
    height: 256
  },
  plain3_die2: {
    src: imageSrc + 'plain3_die2.png',
    width: 165,
    height: 256
  },
  plain3_die3: {
    src: imageSrc + 'plain3_die3.png',
    width: 165,
    height: 256
  },
  plain3_die4: {
    src: imageSrc + 'plain3_die4.png',
    width: 165,
    height: 256
  },
  plain3_die5: {
    src: imageSrc + 'plain3_die5.png',
    width: 165,
    height: 256
  },
  plain3_die6: {
    src: imageSrc + 'plain3_die6.png',
    width: 165,
    height: 256
  },
  plain3_hurt: {
    src: imageSrc + 'plain3_hurt.png',
    width: 165,
    height: 256
  },
  prop1: {
    src: imageSrc + 'prop1.png',
    width: 59,
    height: 103
  },
  prop2: {
    src: imageSrc + 'prop2.png',
    width: 59,
    height: 103
  }
}

module.exports = gameImg
